<template>
  <div class="home_container">
    <van-button class="mb_15" type="primary" size="small" @click="toPath('/apply')">申请补贴</van-button>
    <van-button type="primary" size="small" @click="toPath('/query')">申请列表</van-button>
  </div>
</template>

<script setup>
import { useRouter } from 'vue-router'
const router = useRouter()

const toPath = (path) => {
  router.push(path)
}
</script>

<style lang="scss" scoped>
.home_container {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  .mb_15 {
    margin-bottom: 15px;
  }
}
</style>
